package io.yuncheng.modules.sys.entity.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlElement;

/**
 * 任务推送的对象
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
public class XmlOrgEntity {
    /**
     * <org>
     * 		<oper>add</oper>
     * 		<!--操作类型：增加机构-->
     * 		<name>办文处</name>
     * 		<!--机构名称-->
     * 		<id>34000001@gd.zg </id>
     * 		<!--机构唯一标识-->
     * 		<pid>32000001@gd.zg </pid>
     * 		<!--上级机构唯一标识-->
     * 		<order>10002</order>
     * 		<!--机构排序号-->
     * 		<standardcode>100101</standardcode>
     * 		<!--机构规范编码-->
     * 		<standardname>办文处</standardname>
     * 		<!--机构规范名称-->
     * 	</org>
     * 		<org>
     * 		<oper>mod</oper>
     * 		<!--操作类型：修改机构-->
     * 		<name>办文处</name>
     * 		<!--机构名称-->
     * 		<id>34000001@gd.zg </id>
     * 		<!--机构唯一标识-->
     * 		<pid>32000001@gd.zg </pid>
     * 		<!--上级机构唯一标识-->
     * 		<order>10002</order>
     * 		<!--机构排序号-->
     * 		<standardcode>100101</standardcode>
     * 		<!--机构规范编码-->
     * 		<standardname>办文处</standardname>
     * 		<!--机构规范名称-->
     * 	</org>
     * 		<org>
     * 		<oper>del</oper>
     * 		<!--操作类型：删除机构-->
     * 		<id>34000001@gd.zg </id>
     * 		<!--机构唯一标识-->
     * 		<pid>32000001@gd.zg </pid>
     * 		<!--上级机构唯一标识-->
     * 	</org>
     */
    @XmlElement(name = "oper")
    private String oper;
    @XmlElement(name = "name")
    private String name;
    @XmlElement(name = "id")
    private String id;
    @XmlElement(name = "pid")
    private String pid;
    @XmlElement(name = "order")
    private String order;
    @XmlElement(name = "standardcode")
    private String standardcode;
    @XmlElement(name = "standardname")
    private String standardname;
}
